<%@ Page Title="Customer Details" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
	Inherits="System.Web.Mvc.ViewPage<GoldenBicycleCompany.Core.Customer>" %>
<%@ Import Namespace="GoldenBicycleCompany.Web.Controllers" %>

<asp:Content ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

    <h1>Customer Details</h1>

    <ul>
		<li>
			<label for="Customer_ValidLicenseNumber">ValidLicenseNumber:</label>
            <span id="Customer_ValidLicenseNumber"><%= Server.HtmlEncode(ViewData.Model.ValidLicenseNumber.ToString()) %></span>
		</li>
		<li>
			<label for="Customer_FirstName">FirstName:</label>
            <span id="Customer_FirstName"><%= Server.HtmlEncode(ViewData.Model.FirstName.ToString()) %></span>
		</li>
		<li>
			<label for="Customer_MiddleName">MiddleName:</label>
            <span id="Customer_MiddleName"><%= Server.HtmlEncode(ViewData.Model.MiddleName.ToString()) %></span>
		</li>
		<li>
			<label for="Customer_LastName">LastName:</label>
            <span id="Customer_LastName"><%= Server.HtmlEncode(ViewData.Model.LastName.ToString()) %></span>
		</li>
		<li>
			<label for="Customer_BirthDate">BirthDate:</label>
            <span id="Customer_BirthDate"><%= Server.HtmlEncode(ViewData.Model.BirthDate.ToString()) %></span>
		</li>
	    <li class="buttons">
            <%= Html.Button("btnBack", "Back", HtmlButtonType.Button, 
                "window.location.href = '" + Html.BuildUrlFromExpressionForAreas<CustomersController>(c => c.Index()) + "';") %>
        </li>
	</ul>

</asp:Content>
